import {MyFile} from "@/typings";

export const filesToUrls = (originString: string): string => {
    if (originString) {
        let files: MyFile[] = JSON.parse(originString)
        return files.map(file => file.path).join(';')
    }
    return ''
}